<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录</title>
<link href="Css/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {background-color: #58A0E3;}
-->
</style>
<script language="javascript" type="text/javascript">
function fnOnSubmit(form) {
	if (form.username.value == '' || form.password.value == '') {
		alert('<?php echo t2js(_T('ui_l_form_validation')); ?>');
		return false;
	}
	return true;
}
</script>
</head>

<body>
<div id="login">
  <table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="50%">&nbsp;</td>
      <td width="50%">
      <form name="form1" id="form1" method="post" action="<?php echo url('BoLogin', 'login'); ?>" onsubmit="return fnOnSubmit(this);">
        <table width="100%" border="0" cellspacing="2" cellpadding="2">
          <tr>
            <td width="38%" class="title">管理员姓名</td>
            <td width="62%"><input type="text" name="username" class="wLogin" size="22" /></td>
          </tr>
          <tr>
            <td class="title">管理员密码</td>
            <td><input type="password" name="password" class="wLogin" /></td>
          </tr>
          <tr>
            <td class="title">验证码</td>
            <td><input type="text" name="imgcode" class="wLogin" /></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td><img src="<?php echo $this->_url('ImgCode'); ?>" border="0" title="看不清，换一张" onclick="this.src=this.src+'?'" />&nbsp;&nbsp;<font color="blue">点击图片刷新</font></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><button class="btnB" type="submit"/>进入管理后台</button></td>
                </tr>
              </table></td>
          </tr>
        </table>
            </form>
      </td>
    </tr>
    <tr>
    	<td>
    	<?php if (isset($msg)): ?>
      	<font color="red"><?php echo t($msg); ?></font><br />
      	<?php endif; ?></td>
    	<td>&nbsp;</td>
    </tr>
  </table>
</div>
</body>
</html>
